package com.prs.crm.dao.cdxh;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.cdxh.production.ProvideRegime;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2010-12-3 上午10:00:35
 * 简单说明
 */

public interface ProvideRegimeDao extends BaseDao<ProvideRegime> {
	
	/**
	 * 查找所需对象
	 */
	ProvideRegime getProvideRegime(String productStyles,String recodeStyle,String classS,String machiness);
	
	/**
	 * 修改已查对象属性值
	 */
	void setProvideRegime(ProvideRegime provideRegime);
	/**
	 * 查询是否有重复的机号班次
	 * @param productStyle
	 * @param machineNums
	 * @param classNums
	 * @return
	 */	
	ProvideRegime  getReplaceProvideRegime(String productStyle,String machineNums,String classNums,String recodeStyle);
	

}
